{template "content","header"}
<style type="text/css">
.pic_list{
  width:690px;height:588px;padding-left: 20px;
}
.pic_list li{
  display: block;
  float: left;
  width:222px; height:190px;margin-bottom: 5px;
}
.pic_list li img{
  width:180px; height:150px;padding: 5px 5px; border:solid 1px #CCC;text-align: center;display: block;margin-left: 15px;
}
.img_one{
  width:222px; height:190px;margin-bottom: 5px;
}
.img_one span{
  text-align: center;display: block;margin-top:10px;
}
</style>
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="biaotop2">
  <tr>
    <td align="center"><table width="1002" border="0" cellpadding="0" cellspacing="0">
      <tr>
        
{template "content","left"}

          <td align="center" valign="top"><table width="742" height="600" border="£±" align="right" cellpadding="0" cellspacing="0" bordercolor="#E6E6E6" bgcolor="#FFFFFF">
          <tr>
            <td height="40" align="left" valign="middle" bgcolor="#E6E6E6" class="heizi">您当前的位置 &gt;&gt;网站首页 &gt;&gt; <span class="hongzi">{catpos($catid)}列表内容</span></td>
          </tr>
          <tr>
            <td align="center" valign="top" class="biaotop"><table width="700" height="280" border="0" align="center" cellpadding="0" cellspacing="0" background="{APP_PATH}statics/geyin/images/nei/zhin.jpg" tppabs="http://www.cnhbgy.com/images/nei/zhin.jpg">
                <tr>
                  <td valign="top" class="neitb">&nbsp;</td>
                </tr>
              </table>
                <br />
                <table width="700" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td>
                      {pc:get sql="select a.*,b.* from v9_picture a,v9_picture_data b where catid=$catid and a.id=b.id"}
                      
                          <div>
                            <ul class="pic_list">
                              {loop $data $v}

                                  <?php 
                                  $v[pictureurls] = serialize($v[pictureurls]);
                                  $url_arr = json_decode(unserialize($v[pictureurls]),true);
                                  $title = $v[title];
                                  ?>
                                  {loop $url_arr $u}
                                    <li class="img_one">
                                      <img src="{$u[url]}"/><span>{$title}</span>
                                    </li>
                                  
                                  {/loop}
                              {/loop}
                            </ul>
                         
                          </div>
                      {/pc}

                      <!-- <div>
                        <ul class="pic_list">
                          <li class="img_one">
                            
                            <img src=""/><span>标题</span>
                          </li>
                        </ul>
                     
                      </div> -->
                      
                      <br />
                      <table width="96%"  border="0" align="center" cellpadding="2" cellspacing="0" class="js">
                        <tr>
                          <td height="20" align="middle" valign="bottom" bgcolor="#E7E7E7">{$pages}</td>
                        </tr>
                      </table>
                      <br />
                      </td>
                  </tr>
                </table></td>
          </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
</table>
{template "content","footer"}